package com.csk.zsk.compents.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.csk.zsk.compents.dao.VideoItemDao;
import com.csk.zsk.compents.entity.VideoItem;
import com.csk.zsk.compents.service.VideoItemService;

@Service
@Transactional
public class VideoItemServiceImpl implements VideoItemService {

	@Autowired
	private VideoItemDao videoItemDao;

	@Override
	@Transactional(readOnly = true)
	public VideoItem getVideoItemById(String id) {
		return videoItemDao.getIdByGetMethod(id);
	}

}
